Skip to content

Support Multiple Certs#39

Merged
zachmargolis merged 4 commits intomainfrom
margolis-multiple-certs
Apr 9, 2021
Merged

Support Multiple Certs#39
zachmargolis merged 4 commits intomainfrom
margolis-multiple-certs

Conversation

@zachmargolis
Copy link

@zachmargolis zachmargolis commented Apr 8, 2021

This is an attempt to move some of the multi-cert logic inside the gem so that the IDP is simpler, see 18F/identity-idp#4898

Copy link

@orenyk orenyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOVE it!

One thing I noticed though is that we don't have a unit test for an ServiceProvider.valid_signature? with multiple certs - I know it seems like a pain to write but it feels like it would be worthwhile given how complicated this is.

Otherwise, :shipit:!

@zachmargolis
Copy link
Author

One thing I noticed though is that we don't have a unit test for an ServiceProvider.valid_signature? with multiple certs - I know it seems like a pain to write but it feels like it would be worthwhile given how complicated this is.

Test coverage in this gem is really lacking and for the time being I think we can safely say that the tests in our own IDP cover this for now

@zachmargolis zachmargolis merged commit b48dbd2 into main Apr 9, 2021
@zachmargolis zachmargolis deleted the margolis-multiple-certs branch April 9, 2021 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants